import http from "@/utils/request";

//  获取所有商品出库信息并分页的接口
export function getAllStockOutRequest (currentPage,pageSize) {
    return http({
        url:'/stockOut',
        method:'get',
        data:{},
        params:{currentPage,pageSize}
    })
}

//  添加出库信息的接口
export function addStockOutRequest (stockOut) {
    return http({
        url:'/stockOut',
        method:'post',
        data:stockOut
    })
}